package com.love.marriage.userSettingsInfo.service;

import com.love.marriage.userSettingsInfo.vo.UserSettingsInfoVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.love.marriage.userSettingsInfo.entity.UserSettingsInfo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *  服务类
 * author: mybatisPlus
 * createDate: 2024-10-12 22:22:35
 * description: 我是由代码生成器生成
 * version: 1.0.0
 */
public interface UserSettingsInfoService extends IService<UserSettingsInfo> {

    Page<UserSettingsInfoVo> getPage(Long pageNum, Long pageSize, UserSettingsInfoVo userSettingsInfoVo);

    UserSettingsInfoVo queryUserSettingsInfo(Long id);

    UserSettingsInfoVo queryUserSettingsInfoByUserId(Long userId);


    UserSettingsInfoVo addUserSettingsInfo(UserSettingsInfoVo userSettingsInfoVo) throws Exception;

    UserSettingsInfoVo updateUserSettingsInfo(UserSettingsInfoVo userSettingsInfoVo);

    Boolean deleteUserSettingsInfo(String ids);
}
